part of '../purchased_item.dart';

class GooglePlayApiPurchasedItem extends Equatable implements GoogleAppleStoreApiPurchasedItem {
  const GooglePlayApiPurchasedItem({
    required this.purchaseItemSku,
    required this.transactionId,
    required this.transactionReceipt,
    required this.purchaseToken,
    required this.purchaseState,
  });

  @override
  final String purchaseItemSku;

  @override
  final String transactionId;

  @override
  final String transactionReceipt;

  final String purchaseToken;
  final GooglePlayApiPurchaseState purchaseState;

  @override
  List<Object?> get props {
    return [
      purchaseItemSku,
      transactionId,
      transactionReceipt,
      purchaseToken,
      purchaseState,
    ];
  }
}
